//
//  DeviceInfo.h
//  MSJD
//
//  Created by xiangbo on 2018/9/16.
//  Copyright © 2018 xiangbo. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DeviceInfo : NSObject

/** 获取发布版本号 **/
+ (NSString *)getBigVersion;

// 取设备类型
+ (NSString *) getDeviceModel;

/* 获取本机ip地址
 * preferIPv4:YES 返回IPv4地址  NO 返回IPv6地址
 */
+ (NSString *)deviceIPAddress:(BOOL)preferIPv4;

+ (NSString *)getDeviceType;

+ (NSString *)getDeviceOriginalType;

+ (NSString *)getDeviceIDFA;

/**
 获取当前时间戳
 */
+ (NSString *)getCurrentTimestamp;

@end

NS_ASSUME_NONNULL_END
